wayland: Do not resize with the same size
authorOlivier Fourdan <ofourdan@redhat.com>
Mon, 4 Apr 2016 12:55:38 +0000 (14:55 +0200)
committerOlivier Fourdan <ofourdan@redhat.com>
Tue, 5 Apr 2016 16:22:40 +0000 (18:22 +0200)
commitbe6784c7ea59bd18bf2ce954e83870494686967a
tree5a6a4331a401417bc330d78404bd12e000c62116
parent28fc4de6aaed944d223c7a84ecb6ef3c6d340e3b
wayland: Do not resize with the same size

gnome-control-center is calling gtk_window_resize() on configure-event
signals which leads to a busy loop.

Avoids such a busy loop by not re-configuring a window with the same
size, unless this is coming from and xdg-shell configure.

bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=764374
gdk/wayland/gdkwindow-wayland.c